package cn.attackme.myuploader.dao;

import cn.attackme.myuploader.model.Growth_period;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface Growth_periodDao {
    Growth_period getPeriod(Long id);

    int save(Growth_period growth_period);

    int update(Growth_period growth_period);

    int deleteById(Long id);

    List<Map<String,Object>> allList();

    List<Map<String,Object>> findByDateList(Date date);
}
